
package pr.types;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for PurchaseRequisitionHeaderType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="PurchaseRequisitionHeaderType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="PRNo" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="Date" type="{http://www.w3.org/2001/XMLSchema}date"/>
 *         &lt;element name="Requestedby" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="RequestedTo" type="{http://www.w3.org/2001/XMLSchema}date"/>
 *         &lt;element name="ApprovedBy" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PurchaseRequisitionHeaderType", propOrder = {
    "prNo",
    "date",
    "requestedby",
    "requestedTo",
    "approvedBy"
})
public class PurchaseRequisitionHeaderType {

    @XmlElement(name = "PRNo", required = true)
    protected String prNo;
    @XmlElement(name = "Date", required = true)
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar date;
    @XmlElement(name = "Requestedby", required = true)
    protected String requestedby;
    @XmlElement(name = "RequestedTo", required = true)
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar requestedTo;
    @XmlElement(name = "ApprovedBy", required = true)
    protected String approvedBy;

    /**
     * Gets the value of the prNo property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPRNo() {
        return prNo;
    }

    /**
     * Sets the value of the prNo property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPRNo(String value) {
        this.prNo = value;
    }

    /**
     * Gets the value of the date property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getDate() {
        return date;
    }

    /**
     * Sets the value of the date property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setDate(XMLGregorianCalendar value) {
        this.date = value;
    }

    /**
     * Gets the value of the requestedby property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRequestedby() {
        return requestedby;
    }

    /**
     * Sets the value of the requestedby property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setRequestedby(String value) {
        this.requestedby = value;
    }

    /**
     * Gets the value of the requestedTo property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getRequestedTo() {
        return requestedTo;
    }

    /**
     * Sets the value of the requestedTo property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setRequestedTo(XMLGregorianCalendar value) {
        this.requestedTo = value;
    }

    /**
     * Gets the value of the approvedBy property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getApprovedBy() {
        return approvedBy;
    }

    /**
     * Sets the value of the approvedBy property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setApprovedBy(String value) {
        this.approvedBy = value;
    }

}
